import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
const app = createApp(App)
// 使用vant
import { Tabbar, TabbarItem, NavBar, Grid, GridItem, Icon, Swipe, SwipeItem } from 'vant' //使用 vant4
import 'vant/lib/index.css' // 全局引入样式 vant4 样式
app
  .use(Tabbar)
  .use(TabbarItem)
  .use(NavBar)
  .use(Grid)
  .use(GridItem)
  .use(Icon)
  .use(Swipe)
  .use(SwipeItem)

app.use(createPinia())
app.use(router)
app.mount('#app')
